package model

type Group struct {
	BaseModel
	Name           string `gorm:"column:group_name;type:varchar(20) comment '团队名称';not null"`
	Desc           string `gorm:"column:group_desc;type:varchar(50) comment '团队简介';not null"`
	LeaderId       uint64 `gorm:"column:leader_id;type:int comment '团队群主';not null"`
	Cover          string `gorm:"column:group_cover;type:varchar(100) comment '团队封面';not null"`
	InvitationCode string `gorm:"column:group_invitation_code;type:varchar(50) comment '团队邀请码';unique;not null"`
}
